﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Inventor.Master" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="HospitalSystem.register" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div id="sidebar">
					<ul>
						<li>
							<h2>ลงทะเบียนเด็ก</h2>
							<ul>
							
									<li><a href="findchild.aspx">ข้อมูลเด็ก</a></li>
								<li><a href="register.aspx">ข้อมูลส่วนบุคคล</a></li>
								<li><a href="regfamily.aspx">ข้อมูลครอบครัว</a></li>
                                <li><a href="healthinfo.aspx">ข้อมูลสุขภาพ</a></li>
                                <li><a href="education.aspx">ข้อมูลการศึกษา</a></li>
                                <li><a href="rightsinfo.aspx">ข้อมูลสิทธิ</a></li>
                                <li><a href="Information.aspx">ข้อมูลทั่วไป</a></li>
							</ul>
						</li>
					</ul>
				</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
       
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="style2">
                <tr>
                    <td class="style46" rowspan="7">&nbsp;</td>
             
                    <td class="style3" colspan="4">
                        <h2 class="style41">
                            ข้อมูลส่วนบุคคล</h2>
                    </td>
                </tr>
                <tr>
                    <td class="style15">
                        ชื่อ<asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem>ด.ช.</asp:ListItem>
                            <asp:ListItem>ด.ญ.</asp:ListItem>
                            <asp:ListItem>นาย</asp:ListItem>
                            <asp:ListItem>นาง</asp:ListItem>
                            <asp:ListItem>นางสาว</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style17">
                        <asp:TextBox ID="TextBox1" runat="server" Width="150px"  AutoPostBack="True"
                            ontextchanged="TextBox1_TextChanged"></asp:TextBox>
                    </td>
                    <td class="style37">
                        นามสกุล</td>
                    <td class="style16">
                        <asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style25">
                        เลขประจำตัวประชาชน</td>
                    <td class="style25" colspan="2">
                        <asp:TextBox ID="TextBox3" runat="server" Width="150px" MaxLength="13"></asp:TextBox>
                        &nbsp;16698xxxxxxxx</td>
                    <td class="style25">
                        </td>
                </tr>
                <tr>
                    <td class="style12">
                        วันเดือนปีเกิด</td>
                    <td class="style7" colspan="2">
                        <asp:TextBox ID="TextBox4" runat="server" Width="149px"></asp:TextBox>
                        &nbsp;25-07-2533</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style12">
                        เชื้อชาติ</td>
                    <td class="style34">
                        <asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox>
                    </td>
                      <td class="style38">
                          สัญชาติ</td>
                    <td class="style7">
                        <asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    
                  
                </tr>
                <tr>
                    <td class="style12">
                        ศาสนา</td>
                    <td class="style34">
                        <asp:TextBox ID="TextBox8" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style38">
                        รหัสความเป็นต่างด้าว</td>
                    <td class="style7">
                        <asp:TextBox ID="TextBox19" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style12">
                        ระดับการศึกษา</td>
                    <td class="style34">
                        <asp:DropDownList ID="DropDownList18" runat="server">
                            <asp:ListItem>ประถมศึกษา</asp:ListItem>
                            <asp:ListItem>มัธยมศึกษา</asp:ListItem>
                            <asp:ListItem>อนุปริญญา</asp:ListItem>
                            <asp:ListItem>ปริญญาตรีหรือสูงกว่า</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style38">
                        &nbsp;</td>
                    <td class="style7">
                        &nbsp;</td>
                </tr>
            </table>
            <table class="style2">
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style12" colspan="3">
                        ที่อยู่ปัจจุบัน</td>
                    <td class="style12">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style25" colspan="3">
                        <asp:DropDownList ID="DropDownList7" runat="server">
                            <asp:ListItem>ไม่มีที่อยู่</asp:ListItem>
                            <asp:ListItem>บ้านพ่อแม่</asp:ListItem>
                            <asp:ListItem>บ้านญาติ</asp:ListItem>
                            <asp:ListItem>บ้านนายจ้าง</asp:ListItem>
                            <asp:ListItem>อื่นๆ</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style25">
                        </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        บ้านเลขที่</td>
                    <td class="style32">
                        <asp:TextBox ID="TextBox32" runat="server"></asp:TextBox>
                    </td>
                    <td class="style39">
                        ถนน</td>
                    <td>
                        <asp:TextBox ID="TextBox33" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        ภาค</td>
                    <td class="style32">
                        <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="DropDownList3_SelectedIndexChanged">
                            <asp:ListItem><เลือกภาค></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style39">
                        จังหวัด</td>
                    <td>
                        <asp:DropDownList ID="DropDownList4" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="DropDownList4_SelectedIndexChanged">
                            <asp:ListItem><เลือกจังหวัด></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        อำเภอ</td>
                    <td class="style32">
                        <asp:DropDownList ID="DropDownList5" runat="server" AutoPostBack="True"
                            onselectedindexchanged="DropDownList5_SelectedIndexChanged">
                                  <asp:ListItem><เลือกอำเภอ></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style39">
                        ตำบล</td>
                    <td>
                        <asp:DropDownList ID="DropDownList6" runat="server" AutoPostBack="True"
                            onselectedindexchanged="DropDownList6_SelectedIndexChanged">
                                  <asp:ListItem><เลือกตำบล></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style28">
                        รหัสไปรษณีย์</td>
                    <td class="style33">
                        <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                    </td>
                    <td class="style40">
                        </td>
                    <td class="style26">
                        </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28" colspan="2">
                        ที่อยู่ตามทะเบียนบ้าน</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        บ้านเลขที่</td>
                    <td class="style33">
                        <asp:TextBox ID="TextBox34" runat="server"></asp:TextBox>
                    </td>
                    <td class="style40">
                        ถนน</td>
                    <td class="style26">
                        <asp:TextBox ID="TextBox35" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        ภาค</td>
                    <td class="style33">
                        <asp:DropDownList ID="DropDownList8" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="DropDownList8_SelectedIndexChanged">
                            <asp:ListItem><เลือกภาค></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style40">
                        จังหวัด</td>
                    <td class="style26">
                        <asp:DropDownList ID="DropDownList9" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="DropDownList9_SelectedIndexChanged">
                            <asp:ListItem><เลือกจังหวัด></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        อำเภอ</td>
                    <td class="style33">
                        <asp:DropDownList ID="DropDownList10" runat="server"  AutoPostBack="True"
                            onselectedindexchanged="DropDownList10_SelectedIndexChanged" 
                            style="width: 142px; height: 22px">
                                  <asp:ListItem><เลือกอำเภอ></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style40">
                        ตำบล</td>
                    <td class="style26">
                        <asp:DropDownList ID="DropDownList11" runat="server" 
                            onselectedindexchanged="DropDownList11_SelectedIndexChanged">
                                  <asp:ListItem><เลือกภาค></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        รหัสไปรษณีย์</td>
                    <td class="style33">
                        <asp:TextBox ID="TextBox9" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style25">
                        โทรศัพท์บ้าน</td>
                    <td class="style33">
                        <asp:TextBox ID="TextBox10" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style40">
                        มือถือ</td>
                    <td class="style25">
                        <asp:TextBox ID="TextBox11" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        id ผู้บันทึก</td>
                    <td class="style33">
                        <asp:Label ID="Label1" runat="server" Text="1"></asp:Label>
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        &nbsp;</td>
                    <td class="style33">
                        &nbsp;</td>
                    <td class="style40">
                        <asp:DropDownList ID="DropDownList2" runat="server" Visible="False">
                        </asp:DropDownList>
                    </td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        &nbsp;</td>
                    <td class="style42">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                    <td class="style33">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
            </table>
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>





        <table class="style2">
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" 
                Text="Button" style="text-align: center; margin-left: 350px" />
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Button" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .style2
        {
            width: 100%;
        }
        .style3
        {
            height: 21px;
        }
        .style7
        {
        }
        .style12
        {
        }
        .style15
        {
            width: 139px;
            height: 28px;
        }
        .style16
        {
            height: 28px;
            margin-left: 40px;
        }
        .style17
        {
            height: 28px;
            width: 218px;
        }
        .style19
        {
            width: 193px;
        }
        .style22
        {
            width: 76px;
        }
        .style25
        {
            height: 26px;
        }
        .style26
        {
            height: 26px;
        }
        .style27
        {
            width: 193px;
            height: 26px;
        }
        .style28
        {
            height: 26px;
        }
        .style32
        {
            width: 272px;
        }
        .style33
        {
            width: 272px;
            height: 26px;
        }
        .style34
        {
            width: 218px;
        }
        .style37
        {
            width: 179px;
            height: 28px;
        }
        .style38
        {
            width: 179px;
        }
        .style39
        {
            width: 185px;
        }
        .style40
        {
            width: 185px;
            height: 26px;
        }
        .style41
        {
            font-family: AngsanaUPC;
            font-size: x-large;
            color: #33CCFF;
        }
        .style42
        {
            width: 272px;
            height: 26px;
            font-family: AngsanaUPC;
            font-size: x-large;
            color: #33CCFF;
        }
        .style46
        {
            width: 55px;
        }
        .style47
        {
            width: 181px;
        }
        .style48
        {
            height: 26px;
            width: 181px;
        }
    </style>
</asp:Content>

